<?php

require_once(APPPATH.'models/component.php');

class pw_image extends Component
{
    public $id          = 'pw_image';
	public $title       = 'Image';
	public $description = 'Simple plugin that lets you add an image';
	public $keywords    = 'image img';

    public $attributes = array(
    	'src'   => array(
    		"id"        => 'src',
			"example"   => "./components/pw_image/pw_image.example.png"
    	),
        'width' => array(
            "id"        => 'width',
            "example"   => "100%"
        ),
        'height' => array(
            "id"        => 'height',
            "example"   => "100%"
        ),
    	'free' => array(
    		"id"        => 'free',
			"example"   => "title='an image'"
    	)
    );

    public function parseAttributes($post = null)
    {
    	return $post;
    }

} // class pw_image

/* End of file pw_image.class.php */
/* Location: ./components/pw_image/pw_image.class.php */